var myapp = angular.module('myapp', ['ui.router']);
myapp.config(function($stateProvider, $urlRouterProvider) {
    $stateProvider
        .state('add', {
            url: '/add',
            templateUrl: 'page/add.html',
            controller:'addCon'
        })
    $urlRouterProvider.otherwise('add');
});
